var mongoose = require('mongoose');

const Schema = mongoose.Schema;

const organizationSchema = new Schema({
    name: String,
    members: Array,
    financeId: String
}, { timestamps: { createAt: 'created', updatedAt: 'updated' }, versionKey: false })

const Organization = mongoose.model('organization', organizationSchema);

module.exports = Organization